package strategy;

/**
 * Created by thiswhyme on 2019/03/15.
 */
public class Context {

    private IStrategy strategy;

    public Context(IStrategy strategy) {
        this.strategy = strategy;
    }

    public void doPromotionStrategy() {
        strategy.promotion();
    }
}
